package com.fc.v2.common.quartz.task;
import com.fc.v2.service.SpiderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 爬虫任务
 * @CLASSNAME   V2Task
 * @Description 定时调度具体工作类
 * @Auther Jan  橙寂
 * @DATE 2019/9/2 0002 15:33
 */
@Component("spiderTask")
public class SpiderTask {
	@Autowired
	private SpiderService spiderService;
    /**
     * 无参的任务
     */
    public void runTask1() {
        spiderService.getDevelopeList();
    }

}
